<div class="inner-form">
	<div class="box box-100">
		<div class="boxin">
			<div class="header">
				<h1>Flippers</h1>
			</div>
			
			<div class="content">
                <table width="100%">
                    <?php if (count($this->flippers)) { ?>
                    	<thead>
                            <tr>
                        		<th>Flag</th>
                        		<th>Privilege</th>
                        		<th>Group</th>
                        		<th class="tc last">Allowed</th>
                        	</tr>
                    	</thead>

						<tbody>
                            <?php foreach ($this->flippers as $flipper) { ?>
                                <tr>
                            		<td><?= $flipper->getFlag()->getName() ?></td>
                            		<td><?= $flipper->getPrivilege()->getName() ?></td>
                            		<td><?= $flipper->getGroup()->getName() ?></td>
                            		<td class="tc last"><?= $this->tick($flipper->isAllow()) ?></td>
                            	</tr>
                            <?php } ?>
                        </tbody>
                    <?php } ?>
                </table>
                <?php
                    echo $this->paginationControl($this->flippers,
                                                  'Sliding',
                                                  'partials/pagination.phtml');
                ?>
            </div>
        </div>
    </div>
</div>